package Exception;

public class Test2 {
    public static void main(String[] args) {
        int a=1;
        int b=0;

        try {
            System.out.println(a/b);//Ctrl + alter+ t
        } catch (Exception e) {
            e.printStackTrace();//打印错误的栈信息
        } finally {
        }
    }
}
